package com.edu.dao;

import java.util.List;

import com.edu.entity.Cl;
import com.edu.entity.Grade;
import com.edu.entity.Student;
import com.edu.entity.Teacher;
import com.edu.entity.UserPass;

public interface UserDao {
      public List<Cl> setSelect();
      public List<Teacher> setTselect();
      public List<Student> setSselect();
	  public List<Grade> setGrade();
	  public int setUpdate(Cl clas);
	  public int setDelete(int id);
	  public int setAdd(Cl clos);
	  public List<Cl> sSelect(String cName);
	  public int TeacherSselect(Teacher te);
	  public int TsetDelete(int id);
	  public int setTeacherAdd(Teacher te);
	  public List<Teacher> TeacherSelect(String tClass,String tName);
	  public int setStySel(String b);
	  public int Stuuselect(Student stu);
	  public int ssDel(int id);
	  public int sttAdd(Student stu);
	  public List<Student> SStySelect(String mySel, String name);
	  public int GraDel(String b);
	  public int GrrUpdate(Grade grade);
	  public int GrDel(int id);
	  public int GGAdd(Grade grade);
	  public List<Grade> GradeSelect(String gClass, String gName);
	  public List<UserPass> setCx();
	  public List<Teacher> CxtE(String tName, String tPhone);
	  public List<Student> StuSSlect(String sName, String ssPhone);
	  public List<UserPass> Upaate(int i);
	  public int Upassdq(String NewPass);
}


